The European Parliament has told its lawmakers and staff to set an example for EU citizens by no longer drinking water from plastic bottles by next year.