Entire solutions in ℝ2 for a class of Allen-Cahn equations