The behavior of magnetic and nonmagnetic impurities in the system Nb76Pt24−xFex