AUTOMATIC RESOLUTION CONTROL FOR THE FINITE-VOLUME METHOD, PART 1: A-POSTERIORI ERROR ESTIMATES