Spin dynamics in a tunnel junction between ferromagnets