The UK and Welsh governments have announced a joint £1 million research initiative for the heavily polluted River Wye.