Magnetic fields in PNe and other evolved low-mass and intermediate-mass stars