Understanding the microstructural evolution and mechanical properties of transparent Al-O-N and Al-Si-O-N films