On the singularity formation and long-time asymptotics in a class of nonlinear Fokker–Planck equations