Structure, photoluminescence, and magnetic properties of a Mn(ii)-based metal–organic framework