Convert documentation to restructured text

Fixes #134.