Spectral neural network potentials for binary alloys