The European Parliament has voted in favour of proposals to phase in binding EU-wide food waste reduction targets up to 2030.