Near-field trap for submicron particles and cold, neutral atoms using rectangular etched cavities in optical nanofibers