Final results of the search for νμ → νe oscillations with the OPERA detector in the CNGS beam