Constraining sterile neutrino interpretations of the LSND and MiniBooNE anomalies with coherent neutrino scattering experiments