Dynamics of laser-induced bubble and free-surface oscillations in an absorbing liquid