Richarlison lavede hattrick på 23 minutter, da Brasilien torsdag vandt med 4-2 over Tyskland ved OL-gruppespillet.