Controlled growth of ternary alloy nanowires using metalorganic chemical vapor deposition.