Auto-conditioned primal-dual hybrid gradient method and alternating direction method of multipliers