Anharmonic effects and temperature dependence of the lattice spectra of ferroelectric crystals A3B2C9