Non-Obvious Manipulability in Additively Separable and Fractional Hedonic Games