The far-infrared energy distributions of Seyfert and starburst galaxies in the local universe: Infrared space observatory photometry of the 12 micron active galaxy sample