Density functional theory with modified dispersion correction for metals applied to molecular adsorption on Pt(111).