Effects of transient heating events on tungsten plasma-facing materials in a steady-state divertor-plasma environment