Influence of position and parameters of inhomogeneities on vortex structure in long Josephson junctions