Multi-aperture optics as a universal platform for computational imaging