Higher than expected cases of flu have contributed to a difficult festive season for the NHS.