6.2-magnitude temblor struck northeast Afghanistan around midnight near the country's borders with Pakistan and Tajikistan