Homodyne tomography of a single photon retrieved on demand from a cavity-enhanced cold atom memory