Entropy Generation Minimization Versus Thermal Mixing Due to Natural Convection in Differentially and Discretely Heated Square Cavities