Hundreds of boys 'tortured' at youth detention centres in 1970s and 1980s