Unusual enhancement of multiferroicity in YMn2−xTixO5 due to ferroelectrically active TiO6 oxygen octahedral units