Local field distributions in systems with dipolar interaction