Structure engineering of hierarchical layered perovskite interface for efficient and stable wide bandgap photovoltaics