Photonic crystal with epsilon negative and double negative materials as an optical sensor