The Campanato, Morrey and Hlder spaces on spaces of homogeneous type