Exact monopole solutions in gauge theories for an arbitrary semisimple compact group