Shell writes down oil and gas assets by $22 billion