Energy secretary Ed Miliband described say agreement was ‘critical’, but charities condemned the financial package for developing nations