Poland confirms scientist being detained in Iran