Viscoplastic self-consistent formulation as generalized material model for solid mechanics applications