G-functions, Periods, and irrationality