Tantawi accepts PM resignation, vows to hold elections on time