Infrared spectroscopy of planetary atmospheres: Mars and Venus from PFS-MEX and VIRTIS-VEX data