Icariin attenuates lipopolysaccharide-induced microglial activation and resultant death of neurons by inhibiting TAK1/IKK/NF-kappaB and JNK/p38 MAPK pathways.