Using mutant bacteria to study how changes in membrane proteins affect cell functions