Structural and spectroscopic features of proton hydrates in the crystalline state. Solid-state DFT study on HCl and triflic acid hydrates