Dependence of the absorption-line profiles and radial-velocity curve of the optical star in an X-ray binary on the orbital inclination and component-mass ratio