The effects of conformation on the acidity of ascorbic acid: a density functional study