Laser beam characterization with digital holograms