Embedding functions for Pt and Pd: recalculation and verification on properties of bulk phases, Pt, Pd, and Pt–Pd nanoparticles