A closed-form pricing formula for European options with market liquidity risk