The p-version of the boundary element method for weakly singular operators on piecewise plane open surfaces