Dirac particles interacting with the improved Frost–Musulin potential within the effective mass formalism