Characterisation of irradiated thin silicon sensors for the CMS phase II pixel upgrade