CARMENES input catalogue of M dwarfs. I. Low-resolution spectroscopy with CAFOS | Publicación