James scores 24, Heat take Game 1 over Dallas