Longtime dynamics of Boussinesq type equations with fractional damping