A court in Peru has sentenced former President Ollanta Humala and his wife, Nadine Heredia, to 15 years in prison for laundering $3m received from Brazilian construction firm Odebrecht and $200,000 from the government of then-Venezuelan President Hugo Chavez.