Thermal expansion of NaF, KBr and RbBr and temperature variation of the frequency spectrum of NaF