Radiative decay of a long-lived particle and big-bang nucleosynthesis