Allianz to sell its US MidCorp and Entertainment businesses