Confinement-deconfinement phase transition for heavy quarks in a soft wall holographic QCD model