Flux Phases and Quantized Pinning Force in Superconductor with a Periodic Lattice of Pinning Centres