Spectroscopic characterization of Er3+-doped Tl3PbBr5 for midinfrared laser applications