The European Parliament has voted to stop moving clocks forward an hour in spring and back again in the autumn.