Critical behavior and magnetocaloric effect in the multiferroic double perovskite Lu2NiMnO6