Text this: Necessary and sufficient optimal control conditions for networked control systems with input delay and Markovian packet dropouts.