A constitutive model for metallic glasses based on two-temperature nonequilibrium thermodynamics