Effects of allocative inefficiency on resource allocation and energy substitution in Pakistan's manufacturing