Regular LDPC codes with parity-check matrices wherein all rows and columns have the same row weight and column weight, respectively