Diagnosing COVID-19 in Chest X-ray Images based on Deep Learning: Transfer Learning versus Deep Features Extraction