Professor's transfer may have been retaliation for harassment claim, 1st Cir. says