Generalized mixtures in reliability modelling: Applications to the construction of bathtub shaped hazard models and the study of systems