People treated by female doctors live longer: study