Rolls-Royce returns to profit, but warns over international