Funerals have been held for two teenagers killed when the car they were in drove the wrong way down a motorway and crashed into another vehicle.