Improving the Energy Efficiency and Robustness of tinyML Computer Vision Using Log-Gradient Input Images