The specification property for backward shifts