Wales through as Group B winners, while England must settle for the runners-up spot after being held by Slovakia.