Structural phase transition and fluorescence lifetime of amorphous chalcogenide alloys doped with rare-earths