Optimisation of multiguard structures for breakdown protection in silicon detectors