TAP: targeting and analysis pipeline for optimization and verification of coil placement in transcranial magnetic stimulation