A national crane hire company has been sentenced for failings that led to the death of two men as a crane collapsed in London.