Astrophysical constraints on hypothetical variability of fundamental constants