Optical model of light propagation in total internal reflection fluorescence sensors.