Crops and weeds classification using Convolutional Neural Networks via optimization of transfer learning parameters