Temperature-dependent resistivity and anomalous Hall effect in NiMnSb from first principles