Prompt photon and associated heavy quark production at hadron colliders with kT -factorization