Group events by month