Transient heat generation in a quantum dot under a step-like pulse bias