Sri Lanka shares end higher as consumer staples, industrials rise