Magnetic circular x-ray dichroism in transverse geometry: A new tool to study the magnetocrystalline anisotropy