Phonons and Electron-Phonon Interactions in III-nitride Bulk and Dimensionally Confined Semiconductors and Their Device Implications