A class of invertible circulant matrices for QC-LDPC codes