Calculations of wavelengths and transition probabilities in the singlet and triplet spectra of N IV