The European Union has voted to increase its binding targets on energy efficiency and renewable energy.