Ab initio studies of structural features not easily amenable to experiment: Part 15. The influence of solvation on molecular structure in some formic acid and carbonic acid hydrates