Fabrication of digital planar holograms into high refractive index waveguide core for spectroscopy-on-chip applications