Philosophical elements in Penrose's and Hawking's research in contemporary cosmology