6.2-magnitude earthquake hits Afghanistan