2D Nb-doped MoS$_2$: Tuning the Exciton Transitions and Application to p-type FETs