Cyclization–endoperoxidation cascade reactions of dienes mediated by a pyrylium photoredox catalyst