A powerful earthquake measuring magnitude eight has struck Panama, causing panic in the capital. Tsunami warnings have been issued for several Central and South American countries.