Thermal Dilepton Signal and Dileptons from Correlated Open Charm and Bottom Decays in Ultrarelativistic Heavy-Ion Collisions