Mixing of photons with massive spin-two particles in a magnetic field