Geology of alluvial fans in semiarid regions