Interaction of silicene and germanene with non-metallic substrates