Spontaneously bended nematic and antiferroelectric smectic structures of banana-shaped hard particles in two dimensions