Dairy cow adaptation to and interaction with an automatic milking system