Exploration of the conformational and reactive dynamics of glycine and diglycine on TiO2: computational investigations in the gas phase and in solution