All-optical generation and photoassociative probing of sodium Bose–Einstein condensates