Bounds on the rate of convergence for inhomogeneous $M/M/S$ systems with either state-dependent transitions, or batch arrivals and service, or both