Mutual impedance of grounded wires for horizontally stratified two-layer earth