A general framework for mean-field homogenization of multi-layered linear elastic composites subjected to thermal and curing induced strains. (15th December 2021)