Periodic heat transfer in fins with variable thermal parameters