Former Dallas teacher pleads guilty to child porn charges