The formation of black holes and singularities in spherically symmetric gravitational collapse