Investigation of the effect of temperature on the positron annihilation in solid and liquid tin