Dirac equation solution with generalized tanh-shaped hyperbolic potential : application to charmonium and bottomonium mass spectra | Synapse