Photon echoes with molecules undergoing intramolecular radiationless transitions