Enclosure effects on the internal field distribution in HPGe planar detectors