Transformation of magnetic domain structure in Co- and Fe-rich amorphous microwires