The effects of tensor forces onM1 transitions in12C