Design and assessment of optimized control strategies for solar heating and cooling system