US pulls out of UN climate treaty