Investigation of Electromagnetic Energy Absorption and Thermal Response of Layered Biological Tissues