Observation of a discrete time crystal