Children in poor families seven times more likely to harm themselves, study finds