Parametrization of electronic band structure using the Green's-function method: Empirical application to Cu and Ag