A goalless draw in Belo Horizonte's Estadio Mineirao has taken Costa Rica through as Group D winners and sent England home as the section's bottom team.