Two-photon-excited fluorescence enhanced by metal nanoparticles: The effect of nonradiative energy transfer