The reactions γp→ωπ+π−p and γp→ηπ+π−p at photon energies of 25–70 GeV