Lameness detection using an accelerometric device