Chile declares an emergency in 'quake aftermath