First-principles investigation of energetics and site preference of He in a W grain boundary