Magnetic Properties of High Tc Superconductors from NQR and NMR Measurements