Tidal stream resource assessment through optimisation of array design with quantification of uncertainty