The buckling transition of two-dimensional elastic honeycombs: numerical simulation and Landau theory