Excitation of photons by inflationary gravitons