Laser ablation of solid substrates in water and ambient air