England bounced back from their opening defeat to India to beat Germany 4-1 at the Champions Trophy in Melbourne.