who plays cogsworth in beauty and the beast 2017