Hybrid surface-bulk mode in periodic gratings