The two quakes have killed at least 164 people and injured nearly 1,000, with more feared trapped under rubble.