Physical constraints on marine osmotrophy in an optimal foraging context