New Instrumented Trolleys and A Procedure for Automatic 3D Optical Inspection of Railways