Electron attachment to indole and related molecules