The energy secretary, Ed Miliband, has officially opened a £35m major redevelopment project at the Port of Lowestoft.