UML-based Modeling and Simulation of Environmental Effects in Networked Embedded Systems