Search for the decays B0→e+e-γ and B0→μ+μ-γ