Optimal price-threshold control for battery operation with aging phenomenon: a quasiconvex optimization approach