Magnetic property and magnetocaloric effect in TmCoAl compound