Free-standing gratings and lenses for atom optics