Sidelobe suppression for phase‐coded pulse by mainlobe windowing