Critical Behavior of Magnets with Dipolar Interactions. V. Uniaxial Magnets in d Dimensions