Meson pair production in γγ scattering and implications for scalar mesons