Spectroscopy and Biosensing with Optically Resonant Dielectric Nanostructures