Destruction of Fermi-liquid quasiparticles in two dimensions by critical fluctuations