Primordial magnetic fields and CMB anisotropies