Apsidal motion in the eclipsing binary AS Camelopardalis