A New Approach for Skew Correction of Documents Based on Particle Swarm Optimization