LLM Factoscope: Uncovering LLMs' Factual Discernment through Inner States Analysis