In-Situ Monitoring of Layer-Wise Fabrication by Electrical Resistance Measurements in 3D Printing