Quantum chemical accuracy from density functional approximations via machine learning