Shape and solar phase angle effects on the taxonomic classification of asteroids