Study of the Subjet Structure of Quark and Gluon Jets