Discrete-time stochastic control and dynamic potential games : the Euler-equation approach (2013)