Phase transition and PTCR effect in erbium doped BT ceramics