A relativistic theory of the classical electron