Optimal dynamic treatment regimes with smooth surrogates