Spin content of the nucleon in a relativistic quark model