Relativistic study of nucleon electroweak properties in a constituent-quark model