Charmed hadron properties and spectroscopy at LHCb