Afghan president demands Taliban to end war, join power