Magnetic and viscoelastic response of elastomers with hard magnetic filler