Magnetic x-ray dichroism in core-level photoemission from ferromagnets.