The World Bank has issued a $500 million green bond ahead of the UN Summit on Climate Change (COP22) - half of which was bought by the US state of Maryland.