Successive sums of two squares in arithmetic progressions