Poincaré duality groups of dimension two