The Bedrosian identity for generalized functions