On structure and properties of sputtered Ti and Al based hard compound films