Child dies after being locked in car for 8 hours