Two men have been sent to jail for life for the rape and murder of a Latvian tourist in Kerala in 2018.