Surface diagrams of smooth 4-manifolds