Crystalline and magnetic ordering in the monoclinic phase of the layered perovskite PAMC