Naked Singularities in Higher Dimensional Tolman-type Spacetime