Search for dark matter produced in association with heavy-flavor quark pairs in proton-proton collisions at sqrt(s) = 13 TeV