Computes the diurnality index, using different start and end definitions for each day and night, based on an activity dataframe