Analysis of GaAs-Ti thin films deposited by sputtering onto c-Si and GaAs