Polymeric Loop Formation At Hard And Soft Interfaces