Characterization of YAlO3:Mn2+ thermoluminescent detectors