Geometric Lagrangian averaged Euler–Boussinesq and primitive equations