Prove that in any square pyramid, the squares of the height, slant height and lateral edge are in arithmetic sequence.