Richarlison fires Brazil into Olympics quarter-finals; Germany out