High-Resolution Spectrometer-on-Chip Based on Digital Planar Holography