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