Two types of ABi2B2O9 layered perovskite-like ferroelectrics