Peculiarities of electronic, phonon and magnon subsystems of lanthanum and samarium tetraborides