A Novel Three-Port NPC Converter for Grid-Tied Photovoltaic Systems with Integrated Battery Energy Storage