Sums of squares of consecutive integers