Complex angular momenta and the groups SU(1, 1) and SU(2)