General method for determination of the surface composition in bimetallic nanoparticle catalysts from the L edge X-ray absorption near-edge spectra