New actions for self-dual fields in 2D and 3D