Egyptian President accepts government resignation