Chemical shifts and optical properties of tin oxide films grown by a reactive ion assisted deposition