Text this: Generalized teleportation fidelity and singlet fraction and their relation for (in)distinguishable particles and its applications