Transport in JET deuterium plasmas with optimized shear