COMPLEX ANALYSIS OF REAL FUNCTIONS I: COMPLEX-ANALYTIC STRUCTURE AND INTEGRABLE REAL FUNCTIONS