A manhunt is under way after a gunman shot dead a professor as he worked in his university office in Mississippi.