Polish foreign minister steps down