Performance of the MAGIC telescopes after the major upgrade