Nuclear magnetic relaxation due to critical effects: 35Cl relaxation in NH4Cl and ND4Cl