A complete classification of planar four-bar linkages