An analog model for the magnetotelluric effect