Optimal and economic selection of turn ratio for unit transformer