Phase-Resolved Detection of Ultrabroadband THz Pulses inside a Scanning Tunneling Microscope Junction