Direct measurement of focusing fields in active plasma lenses