Measurement of quarkonium production cross sections in pp collisions at s=13TeV