Infrared structured light generation by optical MEMS and application to depth perception