Basis set expansions of relativistic molecular wave equations