A Two-Stage Heat-Release Model for Diesel Engines