Serena Williams loses to Tomljanovic in US Open farewell