Implementation of a reference interferometer for nanodetection.