Government seeks public views on charities legislation