Infosys net profit rises