Development of optical sensor for the detection of alanine