A practical way to detect approaching calving of the dairy cow by a behaviour sensor