Efficient and Optimal Capital Accumulation and Non Renewable Resource Depletion: The Hartwick Rule in a Two Sector Model