Analyzing Runtime and Size Complexity of Integer Programs