A Stochastic Theory of Single Molecule Spectroscopy