Smoothing estimates for null forms and applications