A van der Waals interface that creates in-plane polarization and a spontaneous photovoltaic effect