A method for frequent measurement of sedation and analgesia in sheep using the response to a ramped electrical stimulus