Photonic crystal based force sensor on silicon microcantilever