Motivic periods and Grothendieck arithmetic invariants