Fluorination reaction of UO3 and electrochemical preparation of UO2