Modalities in homotopy type theory (Logical Methods in Computer Science, 2020)