UAE understands transition away from gas and oil, says John Kerry