Microcantilever torque magnetometry of thin magnetic films