Generate a random date within a specified range. Leave dates empty to use the default range (last 10 years).