Optical methods for the study of metabolism in intact cells