Embraer returns to profit in Q2