Correlation between electrical properties and growth dynamics for Si-doped Al-rich AlGaN grown by metal-organic chemical vapor deposition