Charities' warning over 'green government' pledge