Magnetic excitations in the spin gap system KCuCl3 and TlCuCl3