Localized and mixed valence state of Ce 4 f in superconducting and ferromagnetic CeO 1 -x F x BiS 2 revealed by x-ray absorption and photoemission spectroscopy