Systematic tuning of the conduction mechanisms in ferroelectric thin films