Model for the viscoelastic and viscoplastic responses of semicrystalline polymers