Effect of torso boundaries on electric potential and magnetic field of a dipole