Strong earthquake hits northern Pakistan