Similar Items: Distributed Approximate Maximum Matching and Minimum Vertex Cover via Generalized Graph Decomposition