Impact of the new UK licensing law on emergency hospital attendances: a cohort study