Food demand, uncertainty and investments in human capital: three essays on rural Andhra Pradesh, India