Electronic structure and magnetic properties of hard/soft multilayers