Stability of p-orbital Bose-Einstein condensates in optical checkerboard and square lattices