Production of π0π0 and π0η in photon-photon collisions