Potassium fluoride and phosphorous acid: ab initio calculations and spectroscopic investigations