Former solicitor jailed for forging wills