Germany agrees to mandatory quota for female executives