Search for the electric dipole moment of the electron with thorium monoxide