Electronic structure of La5/3Sr1/3NiO4 by x-ray emission spectroscopy and resonant inelastic x-ray scattering