Phonon densities of states of GaS and GaSe layer crystals