pH variation as the switch for chiral recognition in a biomembrane model.