2D lanthanide–organic frameworks constructed from lanthanide acetate skeletons and benzotriazole-5-carboxylic acid connectors: synthesis, structure, luminescence and magnetic properties