Monitoring of right-sided heart function