Hydrogen bonding and the ultrafast time response in carboxylic acids