Second-Best Optimal Taxation of Oil and Capital in a Small Open Economy