STL-based Optimization of Biomolecular Neural Networks for Regression and Control