From electronic structure to phase diagrams: A bottom-up approach to understand the stability of titanium–transition metal alloys. (July 2016)