Energy Secretary Ed Miliband has called a financial package for developing nations a “critical 11th-hour deal at the 11th hour for the climate” as the United Nations environmental conference drew to a close.