Ex-Afghan president says peace before elections