He is a video games visionary, the creator of intricate gothic fantasies regarded by some as the best titles of the last 20 years. In a rare interview, Hidetaka Miyazaki explains how he rose from unwanted coder to company president