Relative Homological Algebra and Purity in Triangulated Categories