Critical behavior of uniaxial ferromagnetics with dipolar interactions