Police forces across the UK have recorded a 21% increase in assaults on officers over the lockdown period.