Toyota to Take 5 Percent Stake in Mazda and Build Joint US Plant