Optimal Capital Requirements over the Business and Financial Cycles