Ergoline synthons. 2. Synthesis of 1,5-dihydrobenz[cd]indol-4(3H)-ones and 1,3,4,5-tetrahydrobenz[cd]indol-4-amines