Nonhomogeneous samples in the Behrens-Fisher problem