The hydrogen atom in one dimension