Next generation high resolution perovskite direct conversion detector: Monte Carlo design optimisation and virtual clinical trial