Comfort dogs can be used to assist witnesses testifying in criminal trials, top state court rules