HPGe detector efficiencies for extended sources using the Monte Carlo method