Australia signs $50 billion submarine contract with France after two-year squabble