A molecularly imprinted gel photonic crystal sensor for recognition of chiral amino acids.