Nanoindentation and nanomachining characteristics of gold and platinum thin films