Thermo-mechanics of growth and mass transfer: morphogenesis of seashells