Intramolecular quenching of the excited singlet state of a naphthyl group by halogeno substituents