HSBC’s head of responsible investing quits after climate speech controversy