Molecular behavior of zero-dimensional perovskites