The effects of crystallization on the magnetic properties and critical current in Bi–Sr–Ca–Cu–O glass–ceramics