Effects of frequency correlation in linear optical entangling gates operated with independent photons