Photonic crystal sensor based on Fano resonances for simultaneous detection of refractive index and temperature