Spain reports nearly 400,000 hectares burned and 37 arrests due to fires