Integrated microcircuit on a diamond anvil for high-pressure electrical resistivity measurement