Distance sensor with a tunable aperture actuated by thermal expansion of silicon chevron beams