Which psychologist is credited with developing the theory of operant conditioning, which uses reinforcement and punishment to shape behavior?