Stabilities of binary intermediate phases in transition metal alloy systems