Oil edges lower over demand fears in China and US