Thermal and dynamical regimes of single‐ and two‐phase magmatic flow in dikes