Magnetic properties and magnetocaloric effect in the aluminide RENiAl2 (RE = Ho and Er) compounds