Formation of the tensor meson A2(1320) in photon-photon interactions