Dark matter search in nucleon, pion, and electron channels from a proton beam dump with MiniBooNE