Automated Design of Application-Specific Smart Camera Architectures