Phase separation of ultrathin polymer-blend films on patterned substrates