EHVC: Efficient Hierarchical Reference and Quality Structure for Neural Video Coding