Microscale Control And Measure of Temperature And Applications to Optofluidics And Immunology