Philippe Coutinho and Neymar score in injury time as Brazil beat Costa Rica 2-0 to edge towards the last 16 of the World Cup despite another unconvincing performance.