Planar force-constant method for lattice dynamics of superstructures