Quantitative Assessment of Carrier Density by Cathodoluminescence. I. GaAs Thin Films and Modeling