Mastriano wins Republican nomination for governor in Pennsylvania primary election