Utilizing photonic crystal Fabry-Perot sensors for high resolution sensing with applications in atomic force microscopy