Magnetic monopoles with fractional charges