Weight distribution and performance of the iterated product of single-parity-check codes