Tajikistan quake shakes India, Pakistan