Performance comparison of solar-powered cogeneration and trigeneration systems via energy and exergy analyses