Integrated spectrometer and displacement sensor based on mechanically tunable photonic crystals | IEEE Conference Publication | IEEE Xplore