teacher legal rights and responsibilities