Modularity of special motives of rank four associated with Calabi-Yau threefolds