The code LINDA: A Monte Carlo reaction simulation for correlated fragments and evaporation residues formed in nuclear reactions