Crystal-field effects in Nd2Fe14B compounds