Subinterfacial cracks in bimaterial systems subjected to mechanical and thermal loading