Catalytic and sorption applications of porous nickel phosphate materials