Dielectric hysteresis loops of first-order ferroelectric bilayers and antiferroelectrics