BP agrees to buy Shell's stake in Australian Browse gas project