Intramolecular hydrogen bonding and cooperative interactions in carbohydrates via the molecular tailoring approach.