A simple component to select one or two date ranges