Optimization of AlGaN films grown by RF atomic nitrogen plasma using in-situ cathodoluminescence