Flavor physics of leptons and dipole moments