Optimising social mixing strategies to mitigate the impact of COVID-19 in six European countries: a mathematical modelling study