John Kerry, the US climate envoy, to leave the Biden administration