Anomalous Nernst and Hall effects in magnetized platinum and palladium