Are you eligible for a dividend if you hold shares on the ex-dividend day but sell before the record date?