Learning CNN-based Features for Retrieval of Food Images