Geometrical and vibrational features of phosphate, phosphorothioate and phosphorodithioate linkages interacting with hydrated cations: a DFT study.