Laser-generated liquid microjets: correlation between bubble dynamics and liquid ejection