Sampled-data Networked Control Systems: A Lyapunov-Krasovskii Approach