Second law analysis of coupled conduction–radiation heat transfer with phase change