Detailed investigation of the structural and passivation properties of silicon oxynitrides for silicon solar cells