Utility maximization in markets with bid–ask spreads