Periodicity in motivic homotopy theory and over BP∗BP