Recent years have spawned mummylit, dadlit and a brood of online offspring. Two new anthologies bring together earlier examples of parentlit in poetry and prose. Jenny Turner on why a sprinkling of 'not-niceness' is essential in books about bringing up children