Predicting the dynamics of bacterial growth inhibition by ribosome-targeting antibiotics