Growth of massive black holes by super-Eddington accretion