Optical and mechanical properties of amorphous Mg-Si-O-N thin films deposited by reactive magnetron sputtering