Spin torques in ferri- and antiferromagnetic systems