Mazda returns to profitability; N.A. remains in red