A Theory of Compensation and Personnel Policy in Hierarchical Organizations with Application to the United States Military