Interaction of non-equilibrium electrons with phonons in bulk GaN and GaN/AlGaN quantum wells