A method to estimate intermolecular potential well depths for species in both ground and excited electronic states