Optical coherence tomography within a single microsystem