Center-of-mass corrections in nuclear self-consistent field theories