Domain architecture evolution of pattern-recognition receptors