Painleve property and integrals of motion for the Henon-Heiles system