Dileptons, charm and bottom in relativistic heavy-ion collisions