Determination of room-temperature fluorescence and phosphorescence quantum yields for compounds adsorbed on solid surfaces