Allocation and Scheduling of Real-Time Tasks with Volatile/Non-VolatileHybrid Memory Systems