The decay of 32Cl and 40Sc and the T=1 isobaric analogue states in 32S and 40Ca