Over a third of sentences considered by Court of Appeal 'unlawful'