5.8-magnitude quake hits east coast of US