Design of LDPC codes for BP algorithm with channel estimation error