Friedrich Count von Hohenlohe, Bishop of Bamberg