Relativistic effects in the production of pseudoscalar and vector doubly heavy mesons from e + e - annihilation