Automatic interferogram analysis techniques applied to quasi-heterodyne holography and ESPI