Embedding method for the scattering phase in strongly correlated quantum dots