A precise measurement of the B+, B-0 and mean b-hadron lifetime with the DELPHI detector at LEP I