A fiber optical sensor for heavy metal ions based on immobilized xylenol orange