Production of a pair of heavy quarks in e+ e- annihilation in the threshold region