Collective and non-collective excitations in antiferroelectric and ferrielectric liquid crystals studied by dielectric relaxation spectroscopy and electro-optic measurements