Computer modeling of solar wind interaction with Venus and Mars