Frelimo’s Daniel Chapo takes presidency after polls marred by irregularities and murder of opposition advisers