Electronic Spectra from Molecular Dynamics: A Simple Approach