Inverted repeat domains in membrane proteins