Cum-dividend date: How to maximize your investments in the Brazilian market