Exploiting the transmission layer in logical topology design of flexible-grid optical networks