Wind and wave power is set to be included in calculations of the size of countries’ economies for the first time, as part of changes approved at the United Nations.