A candidate material EuSn2As2-based terahertz direct detection and imaging