Energy analysis of ventilated roofs in summer cooling of buildings