Noise effects in perfect transmission of quantum states