Green’s function method in the theory of Brownian motors