NHS reviews abuse of staff and patients, as legal bill exceeds £82m in five years