Luminous Compact Galaxies at Intermediate Redshifts: Progenitors of Bulges of Massive Spirals?