Physics-Based Models for EM and SM Simulation in Three-Dimensional IC Structures