High-voltage planar Si detectors for high-energy physics experiments: comparison between metal-overhang and field-limiting ring techniques