The Brazilian Football Federation (CBF) has sacked head coach Dunga after the men's national team crashed out of the Copa America tournament in the group stage.