The Structure of Magnetic Fields in Spiral Galaxies: A Radio and Far-infrared Polarimetric Analysis