A saturable absorber and a method for modelocking in a laser