Homotopical algebra and triangulated categories