Extragalactic Globular Clusters in the Near Infrared I.A Comparison Between M87 and NGC 4478