Chief constable who led Sir Edward Heath probe resigns amid 'serious' allegations about behaviour