Two-Photon Technique for the Dissociative Spectroscopy of Simple Molecules