Valence states of iron ions in nanostructured yttrium iron garnet Y3Fe5O12 studied by means of soft X-ray absorption spectroscopy