Interactions of neutral phosphonate esters with metal halides