Peripherally specified homomorphs of knot groups