Discrete optimal tracking with prescribed disturbances