The impact of covariate adjustment at randomization and analysis for binary outcomes: understanding differences between superiority and noninferiority trials