Thermodynamic and dynamic anomalies for a three-dimensional isotropic core-softened potential