When did hereditary peers lose the automatic right to attend the House of Lords?