Theoretical predictions for charm and bottom production at the LHC