Ring quantum cascade lasers with grating phase shifts and a light collimating dielectric metamaterial for enhanced infrared spectroscopy