Nonlocal mean-field theory in N-body quantum mechanics for Bose-Einstein condensation