Intra-cavity loss modulation for ultrahigh-speed direct modulation lasers based on photon–photon resonance