Similarity reductions and exact solutions for two-dimensional Euler–Boussinesq equations