Optimal control of natural ventilation as passive cooling strategy for improving the energy performance of building envelope with PCM integration