Nailing a sharp image in macro photography is tough. Here’s what you need to know to start shooting small.