On the geometries, stabilities, and potential energy surfaces of planar C4B2 and C2B4