Flexoelectricity and pattern formation in nematic liquid crystals.