Gregory VIII, Pope