Comparative spectroscopy of (ErF3)(PbF2) alloys and Er3+-doped oxyfluoride glass-ceramics