Phase separation in thermoelectric delafossite CuFe1−xNixO2 observed by soft x-ray magnetic circular dichroism