Conformations of polymer chains grafted to an impermeable plane surface