Optimal reinsurance for risk over surplus ratios