The director of public prosecutions has told prosecutors in England and Wales to bring charges more quickly.