Two-photon annihilation of Kaluza–Klein dark matter