Ion beams accelerated by laser irradiation of thin foils and their applications