Structural relaxation and viscosity in Co-based amorphous materials