Two late goals by Japan stunned Germany in their opening match of Qatar 2022.