Baryon resonances in nuclei: Magnetic moment anomaly in 3H and 3He