Brazil beat Chile 3-2 in penalty shootout to reach World Cup quarters