Acoustic and optical emission during laser-induced plasma formation