Entangling two separate photonic ququarts using linear optical elements