The use of ion beams in thin film deposition