Kodaira-Spencer theory of gravity and exact results for quantum string amplitudes