Glass transitions of poly(methyl methacrylate) confined in nanopores: conversion of three- and two-layer models.