When were safe working environments legislation adopted for child labourers