Temperature dependence of the positron annihilation in liquid and solid bismuth and gallium