THE PHOTOPHYSICAL PROPERTIES OF MOLECULES NEAR METAL AND SEMICONDUCTOR SURFACES