Optimized photoluminescence quantum yield in upconversion composites considering the scattering, inner-filter effects, thickness, self-absorption, and temperature