Comparison of electronic structure and template function of single-layer graphene and a hexagonal boron nitride nanomesh on Ru(0001) | Synapse