Security and complexity of the McEliece cryptosystem based on QC-LDPC codes