$$Q\bar{Q}$$QQ¯ ($$Q\in \{b, c\}$$Q∈{b,c}) spectroscopy using the Cornell potential