Astronomy at High Angular Resolution: A Compendium of Techniques in the Visible and Near-Infrared