Applying scanning probe microscopy for the investigation of molecular self-assembly mechanisms and properties of designed nanomaterials