A kinematic analysis of ionized extraplanar gas in the spiral galaxies NGC 3982 and NGC 4152