Precise shape reconstruction by active pattern in total-internal-reflection-based tactile sensor