Search for leptoquarks coupled to third-generation quarks in proton-proton collisions at sqrt(s) = 13 TeV