Raman studies of NiX2 · 6H2O and FeCl2 · 4H2O