Neutron-Proton, Neutron-Neutron, Proton-Proton QRPA for the Gamow-Teller and the M1 Spin Transitions of N ≃ Z Nuclei in the s — d Shell