Study: Pension plans generally better for teachers than 401K-style accounts