Passivity and dissipativity as design and analysis tools for networked control systems