Hard X-rays from solar flares — time characteristics in correlation with energy and angular distributions of electrons