On what basis does a structural engineer / Consultant decide the type of foundation to be provided for a building?