Analytical heat-transfer modeling of multilayered microdevices