How knowledge management mediates the relationship between environment and organizational structure