Potential model calculation for coplanar and non-coplanar proton-proton bremsstrahlung