Supersymmetric gauged $$ \mathrm{U}{(1)}_{L_{\mu }-{L}_{\tau }} $$ model for electron and muon (g − 2) anomaly