First-order structural transition in the multiferroic perovskite-like formate [(CH3)2NH2][Mn(HCOO)3]