Is IVF allowed in Islam?

In the modern world, the procedure of in vitro fertilization (IVF) is increasingly used to solve problems with infertility. Is it allowed in Islam?