Qatar Airways agrees to buy 25% stake in Virgin Australia