Edge-crease detection and surface reconstruction from point clouds using a second-order variational model