Bulk-boundary-defect correspondence at disclinations in rotation-symmetric topological insulators and superconductors