Predicting proton transfer barriers with density functional methods