Rapid Prototyping by Laser Foil Bonding and Cutting: Thermomechanical Modeling and Process Optimization