Risk analysis of road and rail tunnels for integral design