Afghan president announces temporary ceasefire with Taliban