What is the ex-dividend date, and why does it affect the stock price