Improving resonant photonics devices with sol-gel coatings.