Thirty nations meeting in Berlin have pledged $9.3bn (£6bn) for a fund to help developing countries cut emissions and prepare for climate change.