what is the difference between analog and digital signals