Investigation of the electronic core levels of MnPS3 intercalated with the potassium ion