Heavy meson pair production in e+e− annihilation from the static quark effective theory