A worst-case comparison between temporal difference and residual gradient with linear function approximation