Early stages of interface reactions between AlN and Ti thin films