Added foreign key relations between year/month references and canonical year/months.