Truncations of stellar disks and warps of HI-layers in edge-on spiral galaxies