Complementarity of Neutrinoless Double Beta Decay and Cosmology