Efficient verification of entangled continuous-variable quantum states with local measurements