Thermodynamics of the Stockmayer fluid in an applied field