The ongoing appeal of Peppa Pig, Harry Potter and other big titles keeps the income flowing for two media groups