Messi hat-trick helps Barca to record 35-match unbeaten run