An improved blow-up criterion for smooth solutions of the two-dimensional MHD equations