The US president also defends his country’s climate leadership at the UN summit COP27.