Adhesion and material transfer between contacting Al and TiN surfaces from first principles