Leigh Griffiths scored a hat-trick as Celtic returned to winning ways with a comfortable 5-0 victory over Inverness Caley.