The reliability of diagnostic coding in psychiatric case registers