Local anisotropy and strain effects in Pd1−xCox