Galactosyl headgroup interactions control the molecular packing of wheat lipids in Langmuir films and in hydrated liquid-crystalline mesophases.