Bright and stable light-emitting diodes made with perovskite nanocrystals stabilized in metal–organic frameworks