Brazil left it late before knocking Costa Rica out of the World Cup thanks to goals from Philippe Coutinho and Neymar