Proton–neutron pairing in N = Z nuclei: Quartetting versus pair condensation