Time-dependent coupled-cluster theory for ultrafast transient-absorption spectroscopy