Phase segregation and dielectric, ferroelectric, and piezoelectric properties of MgO-doped NBT-BT lead-free ferroelecric ceramics