Hadronic molecules in the open charm and open bottom baryon spectrum