Fluorescence quenching and nonradiative energy transfer in solutions