Optimisation of coated nanowire solar cells by simulation