Phase evolution and photoluminescence in as-deposited amorphous silicon nitride films