Germany were crowned world champions for the fourth time after a stunning extra-time strike by substitute Mario Gotze secured a 1-0 victory over Argentina.