The first one is actually a goal I had, sometimes after deadlifting my hamstrings can be really tight and I might not be able to touch toes straightaway, but after warmup I can.
This will also help with your squat. Of course if you can't touch your toes you won't be able to do this straight away. So what I done was I placed a barbell half way up my shins and grabbed that instead of my toes.
From there you simply lower the bar until you can do it grabbing the bottom of your toes. On the last rep I'd hold both the top and bottom position for 30s each.
I also would stretch my hamstrings everyday using this stretch http://youtu.be/RpJab7LcbxE?t=1m2s
I'm still a long shot from having flexible hamstrings but I can touch my toes now!
The most important thing is to do the stretches every day. What I like doing is when I need to pick something off the floor in the house, i'll keep my knees back so I get a hamstring stretch every time, keeps it topped up.
was there a time we weren't at war; when we knew what our hearts and hands were for?