Judge sentences Md. man to 30 years for shaking infant son to death