Schmidt-number benchmarks for continuous-variable quantum devices