Skin-friction and heat-transfer decompositions in hypersonic transitional and turbulent boundary layers