Spin coating of thin and ultrathin polymer films