Similarity scaling of viscous and thermal dissipation in a convecting surface boundary layer