What did hard rock replace as a mainstream genre?