The major upgrade of the MAGIC telescopes, Part II: A performance study using observations of the Crab Nebula