Effects of differential and uniform rotation on nonlinear electromotive force in a turbulent flow