Understanding thermal cracking in concrete and asphalt structures