Axially symmetric monopoles and black holes in Einstein-Yang-Mills-Higgs theory