SystemC Model Generation for Realistic Simulation of Networked Embedded Systems