Centrifugal-Coriolis instability through a rotating curved square duct with bottom wall heating and cooling from the ceiling