A sperm whale first spotted in the Thames Estuary earlier this week has since died, marine experts say.